html,
body {
    height: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
    position: relative;
    overflow: hidden;
    background: #000;
    /* cursor: url('shi5.ico'), default; */
}

@font-face {
    font-family: 'iconfont';
    src: url('./font/iconfont.eot');
    src: url('./font/iconfont.eot?#iefix') format('embedded-opentype'), url('./font/iconfont.woff') format('woff'), url('./font/iconfont.ttf') format('truetype'), url('./font/iconfont.svg#iconfont') format('svg');
}

.iconfont {
    font-family: "iconfont" !important;
    font-size: 16px;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -webkit-text-stroke-width: 0.2px;
    -moz-osx-font-smoothing: grayscale;
}

.ball,
.snake {
    position: absolute;
    width: 10px;
    height: 10px;
    background: radial-gradient(closest-side at 50% 50%, #ffffff, rgb(0, 0, 0));
    border-radius: 10px;
}

.snake {
    width: 20px;
    height: 20px;
    border-radius: 20px;
    z-index: 100;
}

.life {
    position: absolute;
    top: 10px;
    color: #fff;
    left: 10px;
    font-size: 12px;
    z-index: 10000;
}

section.life {
    width: 30px;
    height: 6px;
    background: #ffffff38;
    position: absolute;
    top: 50%;
    left: 23px;
    margin-top: -3px;
}

section.lifesilde {
    position: absolute;
    width: 0%;
    background: #63e1f5;
    height: 100%;
}

section.lifenum {
    position: absolute;
    top: 0;
    left: 58px;
}

section.lifespeed {
    position: absolute;
    top: 0;
    left: 95px;
}

section.lifespeed {
    position: absolute;
    top: 0;
    left: 56px;
    color: #63e1f5;
    width: 1150px;
}

section.lifecolor {
    position: absolute;
    left: 12px;
    top: 22px;
    color: #ffffff;
    width: 200px;
}

section.lifecolor span:nth-child(1) {
    color: #63e1f5;
    margin-right: 5px;
}

section.lifespeed span {
    position: relative;
}

section.lifespeed span:nth-child(2)::after {
    position: absolute;
    content: "";
    top: 50%;
    width: 1px;
    height: 8px;
    background-color: aliceblue;
    left: 18px;
    margin-top: -2px;
    transform: rotate(24deg);
}

section.lifespeed span:nth-child(3) {
    margin-left: 8px;
}

span.lifespeed {
    margin-right: 1px;
    color: #fff;
}

.life label {
    color: #63e1f5;
}